package dfbz.demo07;

public class Test01 {
    public static void main(String[] args) {
        int score=90;
        if(score<0||score>100){
            System.out.println("分数有误");
        }else if(score>=90&&score<=100){
            System.out.println("成绩优秀");
        }else if(score>=80&&score<=89){
            System.out.println("好");
        }else if(score>=70&&score<=79){
            System.out.println("良");
        }else if(score>=60&&score<=69){
            System.out.println("及格");
        }else {
            System.out.println("不及格");
        }
    }
}
